﻿using Castle.ActiveRecord;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Online_Course.Domain
{
    [ActiveRecord]
    public class Major:BaseEntity<Major>
    {
        [Property(Length = 30, NotNull = false)]
        [Display(Name = "名称")]
        public string Name { get; set; }

        [Property(Length = 30, NotNull = false)]
        [Display(Name = "编号")]
        public string Code { get; set; }

    }
}
